package com.sealer.utils;

/**
 * Created by sealer on 08-05-2017.
 */
public class EnumUtil {
    public static <E extends Enum> int getOrdinal(E e) {
        return e.ordinal();
    }

    public static <E extends Enum> String getString(E e) {
        return e.toString();
    }
}
